<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.log(Math.ceil(1,2,3))
        console.log(Math.max(1,2,3,5));
        console.log(Math.abs(-7));
        console.log(Math.floor(6,7,8,3));
        console.log(Math.PI);
        console.log(Math.min(23,45,1,0,6,7));
        console.log(Math.max(23,1,5,8,89,60));
        // 随机数
        console.log(Math.random());
        //0 ~10
        console.log(Math.floor(Math.random()*51));
        
        console.log(Math.floor(Math.random()*(10+1)) );
        //5~10
        console.log(Math.floor(Math.random()*(5+10))+5 );
        //n~m
        // math.floor(math.random()*(m-n+1))+n
    </script>
</body>
</html>